package test.ground.properties;

import com.alibaba.fastjson.JSONObject;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Description
 * @Author shaopeng
 * @Date 2021/12/20
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "na")
public class Na extends JSONObject {

    private String key;


    private Map<String,String> ext;

    public Map<String, String> getExt() {
        return ext;
    }

    public void setExt(Map<String, String> ext) {
        this.ext = ext;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
